from rest_framework.serializers import ModelSerializer
from apps.Cat.models import varieties, CatModels


class varietiesSerializer(ModelSerializer):

    class Meta:
        model = varieties
        fields = '__all__'


class CatModelsSerializer(ModelSerializer):

    class Meta:
        model = CatModels
        fields = '__all__'
